<div class="register">
    <div class="bor">
        <div class="content">
            <p class="new" >设置新密码</p>
            <div ng-if="submitStatus === 0">
                <div class="unite"><span>设置密码</span><input type="password" ng-model="user.password"><div class="warn" ng-if="checkResult.validType == 'password'">{{checkResult.validMessage}}</div></div>
                <div class="unite"><span>确认密码</span><input type="password" ng-model="user.confirmPassword"><div class="warn" ng-if="checkResult.validType == 'confirmPassword'">{{checkResult.validMessage}}</div></div>
                <div class="enter"><a href="" ng-click="updatePassword()">保存信息</a></div>
            </div>

            <div class="success" ng-if="submitStatus === 1">
                <div>{{submitMessage}}<a href="#/">去首页登录</a></div>
            </div>
            <div class="fail success" ng-if="submitStatus === 2">
                <div>{{submitMessage}}</div>
            </div>
        </div>
    </div>
</div>